/*
 * @Author: quit
 * @Date: 2021-11-09 16:01:11
 * @LastEditTime: 2021-11-15 11:17:33
 * @Descripttion: 用户数据请求封装
 */
// 引入封装的Axios请求
import request from '@/utils/request'

/**
 * @description: 登录请求
 * @param {object} data
 * @return {Promise}
 */
export function login(data) {
  return request({
    url: '/usermanager/login',
    method: 'post',
    data
  })
}

/**
 * @description: 获取用户资料
 */
export function getUserInfo(data) {
  return request({
    url: '/getUserInfo',
    method: 'post',
    data
  })
}

export function logout() {}
